<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型案例</title>
    <style>
        * {
            /* 注意总体宽高减去相应的外边距内边距的宽高。 */
            margin: 0;
            padding: 0%;
        }

        img {
            display: block;
        }

        /* 元素要素 */
        #box {
            width: 241px;
            height: 335px;
            /* background: yellow; */
            margin: 0 auto;
            padding: 11px 11px 18px;
        }

        .title {
            width: 235px;
            height: 19px;
            /* background-color: red; */
            padding-left: 4px;
            border-left: 2px solid #254282;
            color: #254282;
            line-height: 19px;
            /* 文本垂直居中 */
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 12px;
        }

        .bigpic {
            width: 241px;
            height: 170px;
            margin-bottom: 16px;
        }

        .bigpic p {
            width: 241px;
            height: 26px;
            background: #f6f7f8;
            font-size: 1px;
            text-align: center;
            line-height: 26px;
        }

        .smallpic {
            width: 241px;
            height: 120px;
        }
        .smallpic p{
            font-size: 12px;
            width: 112px;
            background: #f6f7f8;
            line-height: 18px;
            font-size: 12px;
            text-align: justify;
        }
        .left{
            float: left;
        }
        .right{float: right;}
    </style>
</head>

<body>
    <div id="box">
        <div class="title">
            女人图片
        </div>
        <div class="bigpic">
            <img src="盒子案例img/big.png" alt="">
            <p>大姐利用“异业联盟”经营美容院</p>
        </div>
        <div class="smallpic">
            <div class="left">
                <img src="盒子案例img/small1.png" alt="">
                <p>无效穿搭、无效化妆≠容貌焦虑</p>
            </div>
            <div class="right">
                <img src="盒子案例img/small2.png" alt="">
                <p>小个子不要怕！“高人一等”的穿搭给你</p>
            </div>
        </div>
    </div>
</body>

</html>